package com.multiplayer.entity;
/**
 * 员工实体类对应emp表
 * @author zhangwenhao 0.0.1
 *@author liutiehui 0.0.2 2020-5-8 23:10
 */
public class Emp {
    //教工号
	private String Empno;
	//教工姓名
	private String Empname;
	//教工性别
	private String Empsex;
	//教工年龄
	private Integer Empage;
	//对应的管理员
	private Admin admin;
	
	public Emp() {
		super();
	}
	
	public Emp(String empno, String empname, String empsex, Integer empage) {
		super();
		Empno = empno;
		Empname = empname;
		Empsex = empsex;
		Empage = empage;
	}
	
	public String getEmpno() {
		return Empno;
	}
	public void setEmpno(String empno) {
		Empno = empno;
	}
	
	public String getEmpname() {
		return Empname;
	}
	public void setEmpname(String empname) {
		Empname = empname;
	}
	public String getEmpsex() {
		return Empsex;
	}
	public void setEmpsex(String empsex) {
		Empsex = empsex;
	}
	public Integer getEmpage() {
		return Empage;
	}
	public void setEmpage(Integer empage) {
		Empage = empage;
	}
	
	
	public Admin getAdmin() {
		return admin;
	}

	public void setAdmin(Admin admin) {
		this.admin = admin;
	}

	
	@Override
	public String toString() {
		return "Emp [Empno=" + Empno +  ", Empname=" + Empname + ", Empsex=" + Empsex + ", Empage="
				+ Empage + "]";
	}
	
	
}
